docs: Link to GResource
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 9 Apr 2018 19:10:47 +0000 (20:10 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Mon, 9 Apr 2018 19:55:51 +0000 (20:55 +0100)
Since we're referring to GLib's functionality, might as well save some
time to the reader, and link to the GResource API reference page.

docs/reference/gtk/getting_started.xml

index 331301491099a6d50bdc16b17fd815c941a80b8c..8dbd0bad23be315c30364478a473a4768fefaf8b 100644 (file)
@@ -454,9 +454,9 @@ example_app_window_class_init (ExampleAppWindowClass *class)
       </informalexample>
 
       <para>You may have noticed that we used the <literal>_from_resource(<!-- -->)</literal> variant
-      of the function that sets a template. Now we need to use GLib's resource
-      functionality to include the ui file in the binary. This is commonly
-      done by listing all resources in a .gresource.xml file, such as this:
+      of the function that sets a template. Now we need to use <ulink url="https://developer.gnome.org/gio/stable/GResource.html">GLib's resource functionality</ulink>
+      to include the ui file in the binary. This is commonly done by listing
+      all resources in a .gresource.xml file, such as this:
       </para>
 
       <informalexample>